//
//  LLModel.h
//  lrlzapp
//
//  Created by dl on 16/2/24.
//  Copyright © 2016年 lrlz. All rights reserved.
//

#import <Mantle/Mantle.h>
#import "NSValueTransformer+LL.h"

extern void JSONToModelError(Class cls, NSError **error, id json);

extern void ModelToJsonError(Class cls, NSError **error, id model);

extern void JSONArrayToModelArrayError(Class cls, NSError **error, id jsonArray);

extern void ModelArrayToJsonArrayError(Class cls, NSError **error, id modelArray);

@interface LLModel : MTLModel <MTLJSONSerializing>

@property(nonatomic, copy) NSString *code;
@property(nonatomic, copy) NSString *success;
@property(nonatomic, copy) NSString *msg;

@end
